<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>TianDi Map</title>
    <!--<link rel="stylesheet" href="http://localhost:8080/appLib/arcjs/3.9/js/dojo/dijit/themes/tundra/tundra.css">-->
    <!--<link rel="stylesheet" href="http://localhost:8080/appLib/arcjs/3.9/js/esri/css/esri.css">-->
    <link rel="stylesheet" href="http://localhost:8080/appLib/arcjs/3.13/esri/css/esri.css">

    <style>
        html, body, #map,.map {
            height: 100%;
            margin: 0;
            padding: 0;
        }
    </style>
    <script type="text/javascript">
//        dojoConfig = {
//            parseOnLoad: true
//            packages: [{
//                name: 'landlib',
//                location: this.location.pathname.replace(/\/[^/]+$/, "") + "/mapjs/"
//            }]
//        };
    </script>
    <!--<script src="http://localhost:8080/appLib/arcjs/3.9/init.js"></script>-->
    <script src="http://localhost:8080/appLib/arcjs/3.13/init.js"></script>

    <script>
        var map;
        require(["esri/map",
//                "landlib/TDTLayer",
//                "landlib/TDTAnnoLayer",
                "esri/layers/FeatureLayer",
                "esri/geometry/Point",
                "esri/symbols/SimpleFillSymbol",
                "esri/symbols/SimpleLineSymbol",
                "dojo/_base/Color",
                "dojo/domReady!"],
                function (Map,
//                          TDTLayer,
//                          TDTAnnoLayer,
                          FeatureLayer,
                          ArcGISDynamicMapServiceLayer,
                          Point,
                          SimpleFillSymbol,
                          SimpleLineSymbol,
                          Color) {
//                    map = new Map("map", {logo: false});
//                    var basemap = new TDTLayer();
//                    map.addLayer(basemap);
//                    var annolayer = new TDTAnnoLayer();
//                    map.addLayer(annolayer);
//
//                    var pro = new FeatureLayer("http://localhost:6080/arcgis/rest/services/csqzjxzq/MapServer");
//                    map.addLayer(pro);
//
//                    var pt = new Point(103.847, 36.0473);
//                    map.centerAndZoom(pt, 3);

                     map = new Map("map", {
                        center: [-118, 34.5],
                        zoom: 8,
                        basemap: "topo"
                    });
                });
    </script>
</head>
<body>
<div id="map"></div>
</body>
</html>  